/* FAQ页面样式 */
:root {
    --primary-color: #c12c2c;
    --secondary-color: #e8e8e8;
    --accent-color: #8b0000;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* FAQ分类导航 */
.category-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.category-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.category-icon i {
    color: white;
    font-size: 1.2rem;
}

/* FAQ内容样式 */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.faq-item {
    background: var(--background-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: var(--background-color);
    border-radius: 10px;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.toggle-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0;
    background: var(--secondary-color);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    height: auto;
    opacity: 1;
}

.faq-answer p {
    margin: 0 0 15px 0;
    color: var(--light-text);
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0 0 15px 0;
    padding: 0 0 0 20px;
    color: var(--light-text);
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

/* 联系我们部分 */
.faq-contact {
    text-align: center;
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 10px;
    margin-top: 40px;
}

.faq-contact h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-nav {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
} 